package com.gopay.common.domain.cbrmb;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/*
 * 添加跨境人民币建设银行账户信息  add by nierongzhang 20161012
 */
@Entity
@Table(name = "CBRMB_BIS_BANK_GFB_CFG")
public class CbrmbBisBankGfbCfg implements Serializable {
    private static final long serialVersionUID = 9202329150902789838L;
    
    /**
     * 流水号
     */
    @Id
    @Column(name = "ID")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    @GeneratedValue(generator = "idGenerator")
    private String id;

    /**
     * 银行代码
     */
    @Column(name = "BANK_CODE")
    protected String bankCode;

    /**
     * 银行代码
     */
    @Column(name = "BANK_NAME")
    protected String bankName;

    /**
     * 结算账户开户名
     */
    @Column(name = "ACCT_NAME")
    protected String acctName;

    /**
     * 结算账户号
     */
    @Column(name = "ACCT_NUM")
    protected String acctNum;

    /**
     * 结算账户网点名称
     */
    @Column(name = "BRANCH_NAME")
    protected String branchName;

    /**
     * 结算账户网点联行号
     */
    @Column(name = "BRANCH_CODE")
    protected String branchCode;

    /**
     * 排序优先级
     */
    @Column(name = "PRIORITY_NUM")
    private int priorityNum;

    /**
     * 是否支持线下充值
     */
    @Column(name = "OFFLINE_CHARGE_SUPPORT")
    private int offlineChargeSupport;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    protected Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    protected Date lastUpdTs;

    /**
     * 删除标识
     * 
     * 0 - 未删除 1 - 已删除
     */
    @Column(name = "IS_DEL")
    private int del;

    /**
     * 是否可用
     * 
     * 0 - 不可用 1 - 可用
     */
    @Column(name = "ENABLE")
    private int enable;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TRANCODE")
    protected String lastUpdTranCode;

    /**
     * 备注1
     */
    @Column(name = "REMARK1")
    protected String remark1;
    /**
     * 备注2
     */
    @Column(name = "REMARK2")
    protected String remark2;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getAcctName() {
        return acctName;
    }

    public void setAcctName(String acctName) {
        this.acctName = acctName;
    }

    public String getAcctNum() {
        return acctNum;
    }

    public void setAcctNum(String acctNum) {
        this.acctNum = acctNum;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public int getPriorityNum() {
        return priorityNum;
    }

    public void setPriorityNum(int priorityNum) {
        this.priorityNum = priorityNum;
    }

    public int getOfflineChargeSupport() {
        return offlineChargeSupport;
    }

    public void setOfflineChargeSupport(int offlineChargeSupport) {
        this.offlineChargeSupport = offlineChargeSupport;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public int getDel() {
        return del;
    }

    public void setDel(int del) {
        this.del = del;
    }

    public int getEnable() {
        return enable;
    }

    public void setEnable(int enable) {
        this.enable = enable;
    }

    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

}
